#ifndef __OBJECT_H__
#define __OBJECT_H__

#ifdef __cplusplus
extern "C"
{
#endif

#include "rtdef.h"

#define RTM_EXPORT(symbol)

void rt_object_init(struct rt_object         *object,
                    enum rt_object_class_type type,
                    const char               *name);
struct rt_object_information *
rt_object_get_information(enum rt_object_class_type type);
int rt_object_get_length(enum rt_object_class_type type);
int rt_object_get_pointers(enum rt_object_class_type type, rt_object_t *pointers, int maxlen);
rt_object_t rt_object_find(const char *name, rt_uint8_t type);
void rt_object_detach(rt_object_t object);
rt_err_t rt_object_get_name(rt_object_t object, char *name, rt_uint8_t name_size);

#ifdef __cplusplus
}
#endif

#endif /* __OBJECT_H__ */




